export const routes = [
  {
    path: '/',
    redirect: '/login'
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login/loginAdmin.vue'),
    meta: {
      title: '登录',
    },
  },
  {
    path: '/register',
    name: 'register',
    component: () => import('@/views/register/registerAdmin.vue'),
    meta: {
      title: '注册',
    },
  },
  // 首页
  {
    path:'/home',
    name:'home',
    component: ()=>import('@/views/home/homeView.vue'),
    meta: {
      title: '首页',
    },
  }
]